﻿<phone:PhoneApplicationPage 
    x:Class="desarrolloMobile.DGTViewer.Settings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
    	<controls:Panorama Title="filtrar por...">

            <!--Panorama item one-->
    		<controls:PanoramaItem Header="autonomia">
    			<ListBox x:Name="lstBoxAutonomia" 
                         SelectionChanged="lstBoxAutonomia_SelectionChanged"
                         />
    		</controls:PanoramaItem>

            <!--Panorama item two-->
    		<controls:PanoramaItem x:Name="panoramaPoblacion" Header="poblacion">
    			<ListBox x:Name="lstBoxPoblacion" SelectionChanged="lstBoxPoblacion_SelectionChanged"/>
    		</controls:PanoramaItem>
    		<controls:PanoramaItem Header="carreteras">
    			<ListBox x:Name="lstBoxCarretera" 
    				SelectionChanged="lstBoxCarretera_SelectionChanged"
                         />
    		</controls:PanoramaItem>
    		<controls:PanoramaItem Header="fecha u hora">
    			<Grid>
    				<Button x:Name="txtUltimaHora" Content="Última hora" Height="88" VerticalAlignment="Top" Click="optUltimaHora_Checked"/>
    				<Button x:Name="txtUltimoDia" Content="Últimas 24 hroas" Height="88" VerticalAlignment="Top" Margin="0,88,0,0" Click="optHoy_Checked"/>
    				<Button x:Name="txtTodas" Content="Todas" Margin="0,176,0,234" Click="optTodas_Checked"/>
    			</Grid>
    		</controls:PanoramaItem>
    	</controls:Panorama>
    </Grid>

    <!--Panorama-based applications should not show an ApplicationBar-->

</phone:PhoneApplicationPage>